package com.etung.iot.demo.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel(value = "查询变量列表参数")
public class VariantQuery extends PageAuthParam{
    @ApiModelProperty(notes = "变量ID或名称")
    private String varIdName;
    @ApiModelProperty(notes = "设备名称")
    private String deviceName;
    @ApiModelProperty(notes = "IMEI")
    private String imei;
    @ApiModelProperty(notes = "读写类型")
    private Integer varReadWritable;
    @ApiModelProperty(notes = "项目ID")
    private Long projectId;

    @Override
    public String toString() {
        return "VariantQuery{" +
                "varIdName='" + varIdName + '\'' +
                ", imei='" + imei + '\'' +
                ", varReadWritable=" + varReadWritable +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
